package com.jiayang.hhotel.bean;

import java.io.Serializable;
import java.util.List;

import cn.droidlover.xdroidmvp.net.IModel;

/**
 * Created by Administrator on 2017/5/18 0018.
 * 查房数据模型
 */

public class RoundsModel implements IModel{


    /**
     * state : 9
     * info :
     * pCheckRoomListDtos : [{"serial":1,"room":"202","adults":1,"acctname":"朱安邦","orgTime":"","patchTime":"","checkTime":"","overTime":"","status":"011"},{"serial":166,"room":"202","adults":1,"acctname":"许强","patchDate":"","patchTime":"","checkTime":"","overTime":"","status":"011"}]
     */

    private int state;
    private String info;
    private List<PCheckRoomListDtosBean> pCheckRoomListDtos;

    @Override
    public boolean isNull() {
        return false;
    }

    @Override
    public boolean isAuthError() {
        return false;
    }

    @Override
    public boolean isBizError() {
        return false;
    }

    @Override
    public String getErrorMsg() {
        return null;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public List<PCheckRoomListDtosBean> getPCheckRoomListDtos() {
        return pCheckRoomListDtos;
    }

    public void setPCheckRoomListDtos(List<PCheckRoomListDtosBean> pCheckRoomListDtos) {
        this.pCheckRoomListDtos = pCheckRoomListDtos;
    }

    public static class PCheckRoomListDtosBean implements Serializable {
        /**
         * serial : 1
         * room : 202
         * adults : 1
         * acctname : 朱安邦
         * orgTime :
         * patchTime :
         * checkTime :
         * overTime :
         * status : 011
         */

        private int serial;
        private String room;
        private int adults;
        private String acctname;
        private String orgTime;
        private String patchTime;
        private String checkTime;
        private String overTime;
        private String status;

        public int getSerial() {
            return serial;
        }

        public void setSerial(int serial) {
            this.serial = serial;
        }

        public String getRoom() {
            return room;
        }

        public void setRoom(String room) {
            this.room = room;
        }

        public int getAdults() {
            return adults;
        }

        public void setAdults(int adults) {
            this.adults = adults;
        }

        public String getAcctname() {
            return acctname;
        }

        public void setAcctname(String acctname) {
            this.acctname = acctname;
        }

        public String getOrgTime() {
            return orgTime;
        }

        public void setOrgTime(String orgTime) {
            this.orgTime = orgTime;
        }

        public String getPatchTime() {
            return patchTime;
        }

        public void setPatchTime(String patchTime) {
            this.patchTime = patchTime;
        }

        public String getCheckTime() {
            return checkTime;
        }

        public void setCheckTime(String checkTime) {
            this.checkTime = checkTime;
        }

        public String getOverTime() {
            return overTime;
        }

        public void setOverTime(String overTime) {
            this.overTime = overTime;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }
    }
}
